package com.wangy;

import com.wangy.util.QuartzScheduler;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * *@Author yyzb
 * *@Date 2024/10/22 15:29
 * *@Version 1.0
 */

@SpringBootApplication
//@EnableTransactionManagement //开启注解方式的事务管理
@Slf4j
@MapperScan("com.wangy.mapper")
public class YunTaiApplication {
    public static void main(String[] args) throws Exception{
        SpringApplication.run(YunTaiApplication.class, args);
        QuartzScheduler.getInstance().start();
    }
}